<?php namespace App\Exceptions\User;

use App\Exceptions\BaseException;

class UserException extends BaseException
{
    const NOT_FOUND = 2001;
    const NOT_PUBLISHER = 2011;

    protected $messages = [
        self::NOT_FOUND     => '用户不存在.',
        self::NOT_PUBLISHER => '不是发布者.',
    ];
}
